package com.project.junM.service;

import com.project.junM.entity.TMember;

import javax.servlet.http.HttpSession;

public interface TMemberService {

    boolean queryByPhoneNumber(String phoneNumber);

    boolean queryByIdCard(String idCard);

    TMember queryByPhoneNumberPassWord(String phoneNumber, String passWord, HttpSession session);

    boolean insertSelective(TMember record);

    TMember selectByPrimaryKey(HttpSession session);

    TMember queryById(Integer id);

    TMember queryReprotByMemberId(HttpSession session);

    boolean updateByPrimaryKeySelective(TMember record,HttpSession session);

//    int updateByPrimaryKeySelective(TMember record);

    TMember queryMemberAlls(HttpSession session);
}
